package cn.iocoder.yudao.module.peizhen.controller.app.carousel.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "用户 APP - 轮播图新增/修改 Request VO")
@Data
public class AppCarouselSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "735")
    private Integer id;

    @Schema(description = "轮播图标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "轮播图标题不能为空")
    private String title;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "图片地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn")
    @NotEmpty(message = "图片地址不能为空")
    private String imageUrl;

}